<script>
  import { OrbitControls, FogExp2, T } from "@threlte/core"
  import { degToRad } from "three/src/math/MathUtils"
</script>

<FogExp2 color={"rgba(243, 244, 246,0.6)"} density={0.01} />
<T.PerspectiveCamera makeDefault position={[30, 1200, 30]} fov={75}>
  <OrbitControls
    maxPolarAngle={degToRad(80)}
    enableZoom={false}
    target={{ y: 0.5 }}
  />
</T.PerspectiveCamera>

<T.DirectionalLight castShadow intensity={0.6} position={[-3, 5, -5]} />
<T.DirectionalLight position={[-3, 10, -10]} intensity={0.2} />
<T.AmbientLight intensity={0.6} />
